import React from 'react';
import { Breadcrumb } from 'antd';
import { AxCard } from '@/components/AxBase';

const Layout: React.FC<any> = ({ children }) => {
  return (
    <AxCard
      title={
        <Breadcrumb separator=">">
          <Breadcrumb.Item>采购主体名称（采购主体地址）</Breadcrumb.Item>
          <Breadcrumb.Item>库存管理</Breadcrumb.Item>
          <Breadcrumb.Item>库存初期盘点</Breadcrumb.Item>
        </Breadcrumb>
      }
      bodyStyle={{ backgroundColor: 'rgb(240,242,245)' }}
    >
      {children}
    </AxCard>
  );
};

export default Layout;
